package com.chainyoung.component_tmperson.ui.mvp.contract;

import com.chainyoung.common.appcommon.entity.CommonList;
import com.chainyoung.common.mvp.IModel;
import com.chainyoung.common.mvp.IView;
import com.chainyoung.component_tmperson.entity.Purse;
import com.chainyoung.component_tmperson.entity.PurseAddr;
import com.chainyoung.component_tmperson.entity.RechargeRecord;

import java.util.TreeMap;

import io.reactivex.Flowable;

public interface RechargeRecordContract {

    interface View extends IView {


        void onGetRechargeRecordSuccess(CommonList<RechargeRecord> data);

        void onGetRechargeRecordFailed();


    }

    interface Model extends IModel {


//        Flowable<CommonList<RechargeRecord>> getRechargeRecord(TreeMap<String, Object> map);
//
//        Flowable<CommonList<RechargeRecord>> getCashRecord(TreeMap<String, Object> map);

        Flowable<CommonList<RechargeRecord>> getTransferRecord(TreeMap<String, Object> map);


    }


}
